package com.song.cloud.seata.dao;

import com.song.cloud.seata.damain.t_order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Author ZhangGuisong
 * @Date 2021/3/3-22:32
 */
@Mapper
public interface orderDao {
    //创建订单
   void create(t_order  order);
   //更新订单
   void update(@Param("product_id") Long product_id,@Param("status") Integer status);
}
